Release 10.1A: OpenEdge Development:
Programming Interfaces
Preparing the server application
Before opening a DDE conversation from the client, you must ensure that the server application is open on the Windows desktop, and that any server preparations required to make application topics available to the OpenEdge client are complete. The OpenEdge client can open the server application by either by invoking the 4GL
OS-COMMAND NO-WAITstatement or by executing theWinExec()program load function from the Window’s kernel dynamic link library (DLL),kernel32.dll. The program load function provides additional features that include specifying the startup window state and returning a value that indicates whether the application actually started.For example, the following code fragment defines the interface to
WinExec(), and uses it to load Microsoft Notepad:
Depending on the application, the client might then open an initial conversation for the System topic and execute server commands to initialize additional topics.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |